package com.qaml.mes.device.domain.convert;

import com.qaml.mes.device.dao.CheckUpkeepMessageDO;
import com.qaml.mes.device.vo.eqp.CheckUpkeepMessageVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * @ClassName CheckUpkeepMessageConvert
 * @Description 消息转换类
 * @Author leikai
 * @Date 2024/3/12 0012 10:41
 * @Version 1.0
 */
@Mapper
public interface CheckUpkeepMessageConvert {

    CheckUpkeepMessageConvert INSTANCE = Mappers.getMapper(CheckUpkeepMessageConvert.class);

    CheckUpkeepMessageVO do2Vo(CheckUpkeepMessageDO checkUpkeepMessageDO);

    List<CheckUpkeepMessageVO> do2ListVo(List<CheckUpkeepMessageDO> checkUpkeepMessageDOList);
}